package com.linb.pan.server.common.config;

import com.linb.pan.core.constants.BPanConstants;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "com.linb.pan.server")
@Data
public class PanServerConfig {

    //文件分片的过期天数
    private Integer chunkFileExpirationDays = BPanConstants.ONE_INT;

    //分享链接的前缀
    private String sharePrefix = "http://localhost:8080/share/";

}
